package com.education.realtime.common;

/**
 * 常量池
 */
public class Constant {
    public static final String KAFKA_BROKERS = "120.76.174.105:9092,120.77.65.55:9092,120.77.78.173:9092";

    public static final String PHOENIX_DRIVER = "org.apache.phoenix.jdbc.PhoenixDriver";
    public static final String PHOENIX_URL = "jdbc:phoenix:hadoop102,hadoop103,hadoop104:2181";
    public static final String CLICKHOUSE_DRIVER = "ru.yandex.clickhouse.ClickHouseDriver";
    public static final String CLICKHOUSE_URL = "jdbc:clickhouse://hadoop102:8123/";
    public static final String CLICKHOUSE_DB = "gmall2022";



    public static final String TOPIC_ODS_DB = "ods_db";
    public static final String TOPIC_ODS_LOG = "ods_log";

    public static final String TOPIC_DWD_TRAFFIC_UV_DETAIL = "dwd_traffic_uv_detail";
    public static final String TOPIC_DWD_TRAFFIC_UJ_DETAIL = "dwd_traffic_uj_detail";
    public static final String TOPIC_DWD_TRAFFIC_ACTION = "dwd_traffic_action";
    public static final String TOPIC_DWD_TRAFFIC_DISPLAY = "dwd_traffic_display";
    public static final String TOPIC_DWD_TRAFFIC_ERR = "dwd_traffic_err";
    public static final String TOPIC_DWD_TRAFFIC_APPVIDEO = "dwd_traffic_appvideo";
    public static final String TOPIC_DWD_TRAFFIC_PAGE = "dwd_traffic_page";
    public static final String TOPIC_DWD_TRAFFIC_START ="dwd_traffic_start" ;

    public static final String TOPIC_DWD_EXAM ="dwd_exam" ;
    public static final String TOPIC_DWD_EXAM_ISSUE = "dwd_exam_issue";
    public static final String TOPIC_DWD_PAPER_COURSE = "dwd_paper_course";

    public static final String TOPIC_DWD_INTERACTION_FAVOR_ADD = "dwd_interaction_favor_add";
    public static final String DWD_INTERACTION_REVIEW = "dwd_interaction_review";
    public static final String DWD_INTERACTION_COMMENT = "dwd_interaction_comment";

    public static final String TOPIC_DWD_PAY_ADD = "dwd_pay_add";
    public static final String TOPIC_DWD_TRADE_ORDER_APP = "dwd_trade_order_app";
    public static final String TOPIC_DWD_TRADE_CART_ADD = "dwd_trade_cart_add";
    public static final String TOPIC_DWD_TRADE_ORDER_DETAIL_APP = "dwd_trade_order_detail_app";
    public static final String TOPIC_DWD_USER_REGISTER = "dwd_user_register";
    public static final String TOPIC_DWD_STUDY_LEARN = "dwd_study_learn";
    public static final long DIM_TTL = 2 * 24 * 60 * 60;

    public static final String CLICKHOUSE_URL_PER = "jdbc:clickhouse://120.76.174.105:8123/";

}
